package com.recycle.system.domain;

import com.recycle.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.recycle.common.annotation.Excel;
import com.recycle.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 公告对象 notice
 *
 * @author recycle
 * @date 2023-03-11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Notice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 公告id */
    @Excel(name = "公告编号")
    private Long noticeId;

    /** 公告标题 */
    @Excel(name = "公告标题")
    private String title;

    /** 发布者id */
    @Excel(name = "发布者id")
    private Long publisherId;

    /** 发布者名称 */
    @Excel(name = "发布者名称")
    private String publisher;

    /** 发布者联系方式 */
    @Excel(name = "发布者联系方式")
    private String publisherContact;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 关键词 */
    @Excel(name = "关键词")
    private String keyword;

    /** 公告类型(0=资源回收公告,1=其他公告) */
    @Excel(name = "公告类型", readConverterExp = "0=资源回收公告,1=其他公告")
    private Long type;

    /** 公告状态(0=正常,1=已关闭) */
    @Excel(name = "公告状态",readConverterExp = "0=正常,1=已关闭")
    private Long status;

}
